<html>
	<head>
	<?php
	 pg_connect("host=localhost user=postgres password=postgres dbname=postgres port=5432" );
	// or die("Erro ao conectar ao banco de dados");
	
	?>
    <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
	<link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css" />
	<link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.min.css" />
    <link rel='stylesheet' type='text/css' href='css/styles.css' />
	<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
	<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
	<script language="JavaScript" src="js/bootstrap.js"></script>
    <script language="JavaScript" src="js/bootstrap.min.js"></script>
		<title>Sistema de controle de fazendas</title>
	
	</head>
	<body>
	<div id='cssmenu'>
				<ul>
					<li class='active'><a href='principal.php'><span><i class="icon-home icon-white"></i>Home</span></a></li>
					<li class='has-sub'><a href='#'><span><i class="icon-leaf icon-white"></i>Fazenda</span></a>
					<ul>
						<li><a href='cadastroFazenda.php'><span>Cadastrar</span></a></li>
						<li><a href='listarFazendas.php'><span>Pesquisar</span></a></li>
					</ul>
					</li>	
	   <li class='has-sub'><a href='#'><span><i class="icon-bell icon-white"></i>Animais</span></a>
		  <ul>
			 <li><a href='cadastroAnimal.php'><span>Cadastrar Animais</span></a></li>
			 <li class='last'><a href='listarAnimais.php'><span>Pesquisar Animais</span></a></li>
		 
			 <li><a href='cadastroVacina.php'><span>Cadastrar Vacina</span></a></li>
			 <li class='last'><a href='listarVacinas.php'><span>Pesquisar Vacina</span></a></li>
		 
			 <li><a href='cadastroVacinacao.php'><span>Cadastrar Vacinação</span></a></li>
			 <li class='last'><a href='listarVacinacao.php'><span>Pesquisar Vacinação</span></a></li>
		  </ul>
	   </li>
	   <li class='has-sub'><a href='#'><span><i class="icon-user icon-white"></i>Usuários</span></a>
		  <ul>
			 <li><a href='cadastroUsuario.php'><span>Cadastrar</span></a></li>
			 <li class='last'><a href='listarUsuarios.php'><span>Pesquisar</span></a></li>
		  </ul>
	   </li>
	    <li class='has-sub'><a href='#'><span><i class="icon-user icon-white"></i>Proprietário</span></a>
		  <ul>
			 <li><a href='cadastroProprietario.php'><span>Cadastrar</span></a></li>
			 <li class='last'><a href='listarProprietarios.php'><span>Pesquisar</span></a></li>
		  </ul>
	   </li>
	   <li class='has-sub'><a href='#'><span><i class="icon-random icon-white"></i>Financeiro</span></a>
		  <ul>
			 <li><a href='cadastroFinanceiro.php'><span>Cadastrar</span></a></li>
			 <li class='last'><a href='listarFinanceiro.php'><span>Pesquisar</span></a></li>
		  </ul>
	   </li> 
      <div class="pull-right" style="margin-top:5px;">
			<li style="color:#666;">Bem vindo(a):</li><li style="color:#666;"><label id="nomeUsuario">Ana</label></li></div>
	   </div>	   
	   </ul>

	</body>
</html>